//
//  LSWelcomeSecionView.m
//  ZLFastDoctor
//
//  Created by 李宗帅 on 16/5/23.
//  Copyright © 2016年 LS. All rights reserved.
//

#import "LSWelcomeSecionView.h"
#import <Masonry.h>
@interface LSWelcomeSecionView ()

@property (nonatomic,strong) UILabel *label;
@end

@implementation LSWelcomeSecionView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        
        [self setupUI];
    }
    
    return self;
}


- (void)setupUI {
    
    
    self.label.text = @"欢迎联系我们";
    
    self.label.textColor = [UIColor darkGrayColor];
    
    self.label.font = [UIFont systemFontOfSize:11];
    
    [self addSubview:self.label];
    
    
    [self.label mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.left.equalTo(self).offset(5);
        
        make.centerY.equalTo(self);
    }];
    
}

- (UILabel *)label {
    if (_label == nil) {
        _label = [[UILabel alloc]init];
    }
    
    return _label;
}
@end
